package cate.game.role.pvp.minecraft.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdMinecraft;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "矿洞争霸-采集区 自己的矿点信息 返回")
public class MinecraftMineAreaMyPointsReq implements MsgInput {
    @NoteField("是否是细节数据")
    public boolean detail;

    @Override
    public MsgConfig conf() {
        return MsgIdMinecraft.MINECRAFT_MINE_AREA_MY_POINTS_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getPvp().minecraft.gatherPO.viewMyPoints(detail);
    }
}
